var e,
	in_frag_chg = false,
	fragChg_p = 'fragmentChange.page';
jQuery(function()
	{
		jQuery( '.pagination a' )
			.live( 'click', function()
				{
					e = this.href;
					jQuery
						.setFragment(
							{
								'page': jQuery
									.queryString( e )
										.page
							} );
					//We could not use var for handle div#all_posts_ because the content, when reloading, change, and the handle is destroyed
					jQuery( 'div#all_posts_' )
						.html( '<div align="center"><b>Page en chargement</b></div>' );
					return false;
				});

		jQuery
			.fragmentChange( true );
		jQuery( document )
			.bind( fragChg_p, function ()
				{
					var url;
					if( !in_frag_chg )
						{
							url = e;
						}
					else
						{
							url = jQuery
								.queryString( document
									.location
										.href,
									{
										'page': jQuery
											.fragment()
												.page
									} );
						}
					jQuery
						.getScript( url );
				} );

		if( jQuery
			.fragment()
				.page )
					{
						in_frag_chg = true;
						jQuery( document )
							.trigger( fragChg_p );
					}
    } );